package com.gzkemays.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gzkemays
 * @date 2021/3/18 14:50
 */
@RestController
public class DemoController {
  @GetMapping("/getdemo")
  public String demo() {
    return "demo";
  }

  @GetMapping("/admin/demo")
  public String adminDemo() {
    return "adminDemo";
  }
}
